package durose.system.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EmplExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EmplExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andEmpl_idIsNull() {
            addCriterion("empl_id is null");
            return (Criteria) this;
        }

        public Criteria andEmpl_idIsNotNull() {
            addCriterion("empl_id is not null");
            return (Criteria) this;
        }

        public Criteria andEmpl_idEqualTo(Integer value) {
            addCriterion("empl_id =", value, "empl_id");
            return (Criteria) this;
        }

        public Criteria andEmpl_idNotEqualTo(Integer value) {
            addCriterion("empl_id <>", value, "empl_id");
            return (Criteria) this;
        }

        public Criteria andEmpl_idGreaterThan(Integer value) {
            addCriterion("empl_id >", value, "empl_id");
            return (Criteria) this;
        }

        public Criteria andEmpl_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("empl_id >=", value, "empl_id");
            return (Criteria) this;
        }

        public Criteria andEmpl_idLessThan(Integer value) {
            addCriterion("empl_id <", value, "empl_id");
            return (Criteria) this;
        }

        public Criteria andEmpl_idLessThanOrEqualTo(Integer value) {
            addCriterion("empl_id <=", value, "empl_id");
            return (Criteria) this;
        }

        public Criteria andEmpl_idIn(List<Integer> values) {
            addCriterion("empl_id in", values, "empl_id");
            return (Criteria) this;
        }

        public Criteria andEmpl_idNotIn(List<Integer> values) {
            addCriterion("empl_id not in", values, "empl_id");
            return (Criteria) this;
        }

        public Criteria andEmpl_idBetween(Integer value1, Integer value2) {
            addCriterion("empl_id between", value1, value2, "empl_id");
            return (Criteria) this;
        }

        public Criteria andEmpl_idNotBetween(Integer value1, Integer value2) {
            addCriterion("empl_id not between", value1, value2, "empl_id");
            return (Criteria) this;
        }

        public Criteria andEmpl_pictureIsNull() {
            addCriterion("empl_picture is null");
            return (Criteria) this;
        }

        public Criteria andEmpl_pictureIsNotNull() {
            addCriterion("empl_picture is not null");
            return (Criteria) this;
        }

        public Criteria andEmpl_pictureEqualTo(String value) {
            addCriterion("empl_picture =", value, "empl_picture");
            return (Criteria) this;
        }

        public Criteria andEmpl_pictureNotEqualTo(String value) {
            addCriterion("empl_picture <>", value, "empl_picture");
            return (Criteria) this;
        }

        public Criteria andEmpl_pictureGreaterThan(String value) {
            addCriterion("empl_picture >", value, "empl_picture");
            return (Criteria) this;
        }

        public Criteria andEmpl_pictureGreaterThanOrEqualTo(String value) {
            addCriterion("empl_picture >=", value, "empl_picture");
            return (Criteria) this;
        }

        public Criteria andEmpl_pictureLessThan(String value) {
            addCriterion("empl_picture <", value, "empl_picture");
            return (Criteria) this;
        }

        public Criteria andEmpl_pictureLessThanOrEqualTo(String value) {
            addCriterion("empl_picture <=", value, "empl_picture");
            return (Criteria) this;
        }

        public Criteria andEmpl_pictureLike(String value) {
            addCriterion("empl_picture like", value, "empl_picture");
            return (Criteria) this;
        }

        public Criteria andEmpl_pictureNotLike(String value) {
            addCriterion("empl_picture not like", value, "empl_picture");
            return (Criteria) this;
        }

        public Criteria andEmpl_pictureIn(List<String> values) {
            addCriterion("empl_picture in", values, "empl_picture");
            return (Criteria) this;
        }

        public Criteria andEmpl_pictureNotIn(List<String> values) {
            addCriterion("empl_picture not in", values, "empl_picture");
            return (Criteria) this;
        }

        public Criteria andEmpl_pictureBetween(String value1, String value2) {
            addCriterion("empl_picture between", value1, value2, "empl_picture");
            return (Criteria) this;
        }

        public Criteria andEmpl_pictureNotBetween(String value1, String value2) {
            addCriterion("empl_picture not between", value1, value2, "empl_picture");
            return (Criteria) this;
        }

        public Criteria andEmpl_nameIsNull() {
            addCriterion("empl_name is null");
            return (Criteria) this;
        }

        public Criteria andEmpl_nameIsNotNull() {
            addCriterion("empl_name is not null");
            return (Criteria) this;
        }

        public Criteria andEmpl_nameEqualTo(String value) {
            addCriterion("empl_name =", value, "empl_name");
            return (Criteria) this;
        }

        public Criteria andEmpl_nameNotEqualTo(String value) {
            addCriterion("empl_name <>", value, "empl_name");
            return (Criteria) this;
        }

        public Criteria andEmpl_nameGreaterThan(String value) {
            addCriterion("empl_name >", value, "empl_name");
            return (Criteria) this;
        }

        public Criteria andEmpl_nameGreaterThanOrEqualTo(String value) {
            addCriterion("empl_name >=", value, "empl_name");
            return (Criteria) this;
        }

        public Criteria andEmpl_nameLessThan(String value) {
            addCriterion("empl_name <", value, "empl_name");
            return (Criteria) this;
        }

        public Criteria andEmpl_nameLessThanOrEqualTo(String value) {
            addCriterion("empl_name <=", value, "empl_name");
            return (Criteria) this;
        }

        public Criteria andEmpl_nameLike(String value) {
            addCriterion("empl_name like", value, "empl_name");
            return (Criteria) this;
        }

        public Criteria andEmpl_nameNotLike(String value) {
            addCriterion("empl_name not like", value, "empl_name");
            return (Criteria) this;
        }

        public Criteria andEmpl_nameIn(List<String> values) {
            addCriterion("empl_name in", values, "empl_name");
            return (Criteria) this;
        }

        public Criteria andEmpl_nameNotIn(List<String> values) {
            addCriterion("empl_name not in", values, "empl_name");
            return (Criteria) this;
        }

        public Criteria andEmpl_nameBetween(String value1, String value2) {
            addCriterion("empl_name between", value1, value2, "empl_name");
            return (Criteria) this;
        }

        public Criteria andEmpl_nameNotBetween(String value1, String value2) {
            addCriterion("empl_name not between", value1, value2, "empl_name");
            return (Criteria) this;
        }

        public Criteria andEmpl_numberIsNull() {
            addCriterion("empl_number is null");
            return (Criteria) this;
        }

        public Criteria andEmpl_numberIsNotNull() {
            addCriterion("empl_number is not null");
            return (Criteria) this;
        }

        public Criteria andEmpl_numberEqualTo(String value) {
            addCriterion("empl_number =", value, "empl_number");
            return (Criteria) this;
        }

        public Criteria andEmpl_numberNotEqualTo(String value) {
            addCriterion("empl_number <>", value, "empl_number");
            return (Criteria) this;
        }

        public Criteria andEmpl_numberGreaterThan(String value) {
            addCriterion("empl_number >", value, "empl_number");
            return (Criteria) this;
        }

        public Criteria andEmpl_numberGreaterThanOrEqualTo(String value) {
            addCriterion("empl_number >=", value, "empl_number");
            return (Criteria) this;
        }

        public Criteria andEmpl_numberLessThan(String value) {
            addCriterion("empl_number <", value, "empl_number");
            return (Criteria) this;
        }

        public Criteria andEmpl_numberLessThanOrEqualTo(String value) {
            addCriterion("empl_number <=", value, "empl_number");
            return (Criteria) this;
        }

        public Criteria andEmpl_numberLike(String value) {
            addCriterion("empl_number like", value, "empl_number");
            return (Criteria) this;
        }

        public Criteria andEmpl_numberNotLike(String value) {
            addCriterion("empl_number not like", value, "empl_number");
            return (Criteria) this;
        }

        public Criteria andEmpl_numberIn(List<String> values) {
            addCriterion("empl_number in", values, "empl_number");
            return (Criteria) this;
        }

        public Criteria andEmpl_numberNotIn(List<String> values) {
            addCriterion("empl_number not in", values, "empl_number");
            return (Criteria) this;
        }

        public Criteria andEmpl_numberBetween(String value1, String value2) {
            addCriterion("empl_number between", value1, value2, "empl_number");
            return (Criteria) this;
        }

        public Criteria andEmpl_numberNotBetween(String value1, String value2) {
            addCriterion("empl_number not between", value1, value2, "empl_number");
            return (Criteria) this;
        }

        public Criteria andEmpl_sexIsNull() {
            addCriterion("empl_sex is null");
            return (Criteria) this;
        }

        public Criteria andEmpl_sexIsNotNull() {
            addCriterion("empl_sex is not null");
            return (Criteria) this;
        }

        public Criteria andEmpl_sexEqualTo(String value) {
            addCriterion("empl_sex =", value, "empl_sex");
            return (Criteria) this;
        }

        public Criteria andEmpl_sexNotEqualTo(String value) {
            addCriterion("empl_sex <>", value, "empl_sex");
            return (Criteria) this;
        }

        public Criteria andEmpl_sexGreaterThan(String value) {
            addCriterion("empl_sex >", value, "empl_sex");
            return (Criteria) this;
        }

        public Criteria andEmpl_sexGreaterThanOrEqualTo(String value) {
            addCriterion("empl_sex >=", value, "empl_sex");
            return (Criteria) this;
        }

        public Criteria andEmpl_sexLessThan(String value) {
            addCriterion("empl_sex <", value, "empl_sex");
            return (Criteria) this;
        }

        public Criteria andEmpl_sexLessThanOrEqualTo(String value) {
            addCriterion("empl_sex <=", value, "empl_sex");
            return (Criteria) this;
        }

        public Criteria andEmpl_sexLike(String value) {
            addCriterion("empl_sex like", value, "empl_sex");
            return (Criteria) this;
        }

        public Criteria andEmpl_sexNotLike(String value) {
            addCriterion("empl_sex not like", value, "empl_sex");
            return (Criteria) this;
        }

        public Criteria andEmpl_sexIn(List<String> values) {
            addCriterion("empl_sex in", values, "empl_sex");
            return (Criteria) this;
        }

        public Criteria andEmpl_sexNotIn(List<String> values) {
            addCriterion("empl_sex not in", values, "empl_sex");
            return (Criteria) this;
        }

        public Criteria andEmpl_sexBetween(String value1, String value2) {
            addCriterion("empl_sex between", value1, value2, "empl_sex");
            return (Criteria) this;
        }

        public Criteria andEmpl_sexNotBetween(String value1, String value2) {
            addCriterion("empl_sex not between", value1, value2, "empl_sex");
            return (Criteria) this;
        }

        public Criteria andEmpl_ageIsNull() {
            addCriterion("empl_age is null");
            return (Criteria) this;
        }

        public Criteria andEmpl_ageIsNotNull() {
            addCriterion("empl_age is not null");
            return (Criteria) this;
        }

        public Criteria andEmpl_ageEqualTo(String value) {
            addCriterion("empl_age =", value, "empl_age");
            return (Criteria) this;
        }

        public Criteria andEmpl_ageNotEqualTo(String value) {
            addCriterion("empl_age <>", value, "empl_age");
            return (Criteria) this;
        }

        public Criteria andEmpl_ageGreaterThan(String value) {
            addCriterion("empl_age >", value, "empl_age");
            return (Criteria) this;
        }

        public Criteria andEmpl_ageGreaterThanOrEqualTo(String value) {
            addCriterion("empl_age >=", value, "empl_age");
            return (Criteria) this;
        }

        public Criteria andEmpl_ageLessThan(String value) {
            addCriterion("empl_age <", value, "empl_age");
            return (Criteria) this;
        }

        public Criteria andEmpl_ageLessThanOrEqualTo(String value) {
            addCriterion("empl_age <=", value, "empl_age");
            return (Criteria) this;
        }

        public Criteria andEmpl_ageLike(String value) {
            addCriterion("empl_age like", value, "empl_age");
            return (Criteria) this;
        }

        public Criteria andEmpl_ageNotLike(String value) {
            addCriterion("empl_age not like", value, "empl_age");
            return (Criteria) this;
        }

        public Criteria andEmpl_ageIn(List<String> values) {
            addCriterion("empl_age in", values, "empl_age");
            return (Criteria) this;
        }

        public Criteria andEmpl_ageNotIn(List<String> values) {
            addCriterion("empl_age not in", values, "empl_age");
            return (Criteria) this;
        }

        public Criteria andEmpl_ageBetween(String value1, String value2) {
            addCriterion("empl_age between", value1, value2, "empl_age");
            return (Criteria) this;
        }

        public Criteria andEmpl_ageNotBetween(String value1, String value2) {
            addCriterion("empl_age not between", value1, value2, "empl_age");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthdayIsNull() {
            addCriterion("empl_birthday is null");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthdayIsNotNull() {
            addCriterion("empl_birthday is not null");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthdayEqualTo(Date value) {
            addCriterion("empl_birthday =", value, "empl_birthday");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthdayNotEqualTo(Date value) {
            addCriterion("empl_birthday <>", value, "empl_birthday");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthdayGreaterThan(Date value) {
            addCriterion("empl_birthday >", value, "empl_birthday");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthdayGreaterThanOrEqualTo(Date value) {
            addCriterion("empl_birthday >=", value, "empl_birthday");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthdayLessThan(Date value) {
            addCriterion("empl_birthday <", value, "empl_birthday");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthdayLessThanOrEqualTo(Date value) {
            addCriterion("empl_birthday <=", value, "empl_birthday");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthdayIn(List<Date> values) {
            addCriterion("empl_birthday in", values, "empl_birthday");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthdayNotIn(List<Date> values) {
            addCriterion("empl_birthday not in", values, "empl_birthday");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthdayBetween(Date value1, Date value2) {
            addCriterion("empl_birthday between", value1, value2, "empl_birthday");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthdayNotBetween(Date value1, Date value2) {
            addCriterion("empl_birthday not between", value1, value2, "empl_birthday");
            return (Criteria) this;
        }

        public Criteria andEmpl_hobbyIsNull() {
            addCriterion("empl_hobby is null");
            return (Criteria) this;
        }

        public Criteria andEmpl_hobbyIsNotNull() {
            addCriterion("empl_hobby is not null");
            return (Criteria) this;
        }

        public Criteria andEmpl_hobbyEqualTo(String value) {
            addCriterion("empl_hobby =", value, "empl_hobby");
            return (Criteria) this;
        }

        public Criteria andEmpl_hobbyNotEqualTo(String value) {
            addCriterion("empl_hobby <>", value, "empl_hobby");
            return (Criteria) this;
        }

        public Criteria andEmpl_hobbyGreaterThan(String value) {
            addCriterion("empl_hobby >", value, "empl_hobby");
            return (Criteria) this;
        }

        public Criteria andEmpl_hobbyGreaterThanOrEqualTo(String value) {
            addCriterion("empl_hobby >=", value, "empl_hobby");
            return (Criteria) this;
        }

        public Criteria andEmpl_hobbyLessThan(String value) {
            addCriterion("empl_hobby <", value, "empl_hobby");
            return (Criteria) this;
        }

        public Criteria andEmpl_hobbyLessThanOrEqualTo(String value) {
            addCriterion("empl_hobby <=", value, "empl_hobby");
            return (Criteria) this;
        }

        public Criteria andEmpl_hobbyLike(String value) {
            addCriterion("empl_hobby like", value, "empl_hobby");
            return (Criteria) this;
        }

        public Criteria andEmpl_hobbyNotLike(String value) {
            addCriterion("empl_hobby not like", value, "empl_hobby");
            return (Criteria) this;
        }

        public Criteria andEmpl_hobbyIn(List<String> values) {
            addCriterion("empl_hobby in", values, "empl_hobby");
            return (Criteria) this;
        }

        public Criteria andEmpl_hobbyNotIn(List<String> values) {
            addCriterion("empl_hobby not in", values, "empl_hobby");
            return (Criteria) this;
        }

        public Criteria andEmpl_hobbyBetween(String value1, String value2) {
            addCriterion("empl_hobby between", value1, value2, "empl_hobby");
            return (Criteria) this;
        }

        public Criteria andEmpl_hobbyNotBetween(String value1, String value2) {
            addCriterion("empl_hobby not between", value1, value2, "empl_hobby");
            return (Criteria) this;
        }

        public Criteria andEmpl_selfIsNull() {
            addCriterion("empl_self is null");
            return (Criteria) this;
        }

        public Criteria andEmpl_selfIsNotNull() {
            addCriterion("empl_self is not null");
            return (Criteria) this;
        }

        public Criteria andEmpl_selfEqualTo(String value) {
            addCriterion("empl_self =", value, "empl_self");
            return (Criteria) this;
        }

        public Criteria andEmpl_selfNotEqualTo(String value) {
            addCriterion("empl_self <>", value, "empl_self");
            return (Criteria) this;
        }

        public Criteria andEmpl_selfGreaterThan(String value) {
            addCriterion("empl_self >", value, "empl_self");
            return (Criteria) this;
        }

        public Criteria andEmpl_selfGreaterThanOrEqualTo(String value) {
            addCriterion("empl_self >=", value, "empl_self");
            return (Criteria) this;
        }

        public Criteria andEmpl_selfLessThan(String value) {
            addCriterion("empl_self <", value, "empl_self");
            return (Criteria) this;
        }

        public Criteria andEmpl_selfLessThanOrEqualTo(String value) {
            addCriterion("empl_self <=", value, "empl_self");
            return (Criteria) this;
        }

        public Criteria andEmpl_selfLike(String value) {
            addCriterion("empl_self like", value, "empl_self");
            return (Criteria) this;
        }

        public Criteria andEmpl_selfNotLike(String value) {
            addCriterion("empl_self not like", value, "empl_self");
            return (Criteria) this;
        }

        public Criteria andEmpl_selfIn(List<String> values) {
            addCriterion("empl_self in", values, "empl_self");
            return (Criteria) this;
        }

        public Criteria andEmpl_selfNotIn(List<String> values) {
            addCriterion("empl_self not in", values, "empl_self");
            return (Criteria) this;
        }

        public Criteria andEmpl_selfBetween(String value1, String value2) {
            addCriterion("empl_self between", value1, value2, "empl_self");
            return (Criteria) this;
        }

        public Criteria andEmpl_selfNotBetween(String value1, String value2) {
            addCriterion("empl_self not between", value1, value2, "empl_self");
            return (Criteria) this;
        }

        public Criteria andEmpl_banknumberIsNull() {
            addCriterion("empl_banknumber is null");
            return (Criteria) this;
        }

        public Criteria andEmpl_banknumberIsNotNull() {
            addCriterion("empl_banknumber is not null");
            return (Criteria) this;
        }

        public Criteria andEmpl_banknumberEqualTo(String value) {
            addCriterion("empl_banknumber =", value, "empl_banknumber");
            return (Criteria) this;
        }

        public Criteria andEmpl_banknumberNotEqualTo(String value) {
            addCriterion("empl_banknumber <>", value, "empl_banknumber");
            return (Criteria) this;
        }

        public Criteria andEmpl_banknumberGreaterThan(String value) {
            addCriterion("empl_banknumber >", value, "empl_banknumber");
            return (Criteria) this;
        }

        public Criteria andEmpl_banknumberGreaterThanOrEqualTo(String value) {
            addCriterion("empl_banknumber >=", value, "empl_banknumber");
            return (Criteria) this;
        }

        public Criteria andEmpl_banknumberLessThan(String value) {
            addCriterion("empl_banknumber <", value, "empl_banknumber");
            return (Criteria) this;
        }

        public Criteria andEmpl_banknumberLessThanOrEqualTo(String value) {
            addCriterion("empl_banknumber <=", value, "empl_banknumber");
            return (Criteria) this;
        }

        public Criteria andEmpl_banknumberLike(String value) {
            addCriterion("empl_banknumber like", value, "empl_banknumber");
            return (Criteria) this;
        }

        public Criteria andEmpl_banknumberNotLike(String value) {
            addCriterion("empl_banknumber not like", value, "empl_banknumber");
            return (Criteria) this;
        }

        public Criteria andEmpl_banknumberIn(List<String> values) {
            addCriterion("empl_banknumber in", values, "empl_banknumber");
            return (Criteria) this;
        }

        public Criteria andEmpl_banknumberNotIn(List<String> values) {
            addCriterion("empl_banknumber not in", values, "empl_banknumber");
            return (Criteria) this;
        }

        public Criteria andEmpl_banknumberBetween(String value1, String value2) {
            addCriterion("empl_banknumber between", value1, value2, "empl_banknumber");
            return (Criteria) this;
        }

        public Criteria andEmpl_banknumberNotBetween(String value1, String value2) {
            addCriterion("empl_banknumber not between", value1, value2, "empl_banknumber");
            return (Criteria) this;
        }

        public Criteria andEmpl_bossIsNull() {
            addCriterion("empl_boss is null");
            return (Criteria) this;
        }

        public Criteria andEmpl_bossIsNotNull() {
            addCriterion("empl_boss is not null");
            return (Criteria) this;
        }

        public Criteria andEmpl_bossEqualTo(Integer value) {
            addCriterion("empl_boss =", value, "empl_boss");
            return (Criteria) this;
        }

        public Criteria andEmpl_bossNotEqualTo(Integer value) {
            addCriterion("empl_boss <>", value, "empl_boss");
            return (Criteria) this;
        }

        public Criteria andEmpl_bossGreaterThan(Integer value) {
            addCriterion("empl_boss >", value, "empl_boss");
            return (Criteria) this;
        }

        public Criteria andEmpl_bossGreaterThanOrEqualTo(Integer value) {
            addCriterion("empl_boss >=", value, "empl_boss");
            return (Criteria) this;
        }

        public Criteria andEmpl_bossLessThan(Integer value) {
            addCriterion("empl_boss <", value, "empl_boss");
            return (Criteria) this;
        }

        public Criteria andEmpl_bossLessThanOrEqualTo(Integer value) {
            addCriterion("empl_boss <=", value, "empl_boss");
            return (Criteria) this;
        }

        public Criteria andEmpl_bossIn(List<Integer> values) {
            addCriterion("empl_boss in", values, "empl_boss");
            return (Criteria) this;
        }

        public Criteria andEmpl_bossNotIn(List<Integer> values) {
            addCriterion("empl_boss not in", values, "empl_boss");
            return (Criteria) this;
        }

        public Criteria andEmpl_bossBetween(Integer value1, Integer value2) {
            addCriterion("empl_boss between", value1, value2, "empl_boss");
            return (Criteria) this;
        }

        public Criteria andEmpl_bossNotBetween(Integer value1, Integer value2) {
            addCriterion("empl_boss not between", value1, value2, "empl_boss");
            return (Criteria) this;
        }

        public Criteria andEmpl_deptIsNull() {
            addCriterion("empl_dept is null");
            return (Criteria) this;
        }

        public Criteria andEmpl_deptIsNotNull() {
            addCriterion("empl_dept is not null");
            return (Criteria) this;
        }

        public Criteria andEmpl_deptEqualTo(Integer value) {
            addCriterion("empl_dept =", value, "empl_dept");
            return (Criteria) this;
        }

        public Criteria andEmpl_deptNotEqualTo(Integer value) {
            addCriterion("empl_dept <>", value, "empl_dept");
            return (Criteria) this;
        }

        public Criteria andEmpl_deptGreaterThan(Integer value) {
            addCriterion("empl_dept >", value, "empl_dept");
            return (Criteria) this;
        }

        public Criteria andEmpl_deptGreaterThanOrEqualTo(Integer value) {
            addCriterion("empl_dept >=", value, "empl_dept");
            return (Criteria) this;
        }

        public Criteria andEmpl_deptLessThan(Integer value) {
            addCriterion("empl_dept <", value, "empl_dept");
            return (Criteria) this;
        }

        public Criteria andEmpl_deptLessThanOrEqualTo(Integer value) {
            addCriterion("empl_dept <=", value, "empl_dept");
            return (Criteria) this;
        }

        public Criteria andEmpl_deptIn(List<Integer> values) {
            addCriterion("empl_dept in", values, "empl_dept");
            return (Criteria) this;
        }

        public Criteria andEmpl_deptNotIn(List<Integer> values) {
            addCriterion("empl_dept not in", values, "empl_dept");
            return (Criteria) this;
        }

        public Criteria andEmpl_deptBetween(Integer value1, Integer value2) {
            addCriterion("empl_dept between", value1, value2, "empl_dept");
            return (Criteria) this;
        }

        public Criteria andEmpl_deptNotBetween(Integer value1, Integer value2) {
            addCriterion("empl_dept not between", value1, value2, "empl_dept");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthplaceIsNull() {
            addCriterion("empl_birthplace is null");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthplaceIsNotNull() {
            addCriterion("empl_birthplace is not null");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthplaceEqualTo(String value) {
            addCriterion("empl_birthplace =", value, "empl_birthplace");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthplaceNotEqualTo(String value) {
            addCriterion("empl_birthplace <>", value, "empl_birthplace");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthplaceGreaterThan(String value) {
            addCriterion("empl_birthplace >", value, "empl_birthplace");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthplaceGreaterThanOrEqualTo(String value) {
            addCriterion("empl_birthplace >=", value, "empl_birthplace");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthplaceLessThan(String value) {
            addCriterion("empl_birthplace <", value, "empl_birthplace");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthplaceLessThanOrEqualTo(String value) {
            addCriterion("empl_birthplace <=", value, "empl_birthplace");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthplaceLike(String value) {
            addCriterion("empl_birthplace like", value, "empl_birthplace");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthplaceNotLike(String value) {
            addCriterion("empl_birthplace not like", value, "empl_birthplace");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthplaceIn(List<String> values) {
            addCriterion("empl_birthplace in", values, "empl_birthplace");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthplaceNotIn(List<String> values) {
            addCriterion("empl_birthplace not in", values, "empl_birthplace");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthplaceBetween(String value1, String value2) {
            addCriterion("empl_birthplace between", value1, value2, "empl_birthplace");
            return (Criteria) this;
        }

        public Criteria andEmpl_birthplaceNotBetween(String value1, String value2) {
            addCriterion("empl_birthplace not between", value1, value2, "empl_birthplace");
            return (Criteria) this;
        }

        public Criteria andEmpl_moneyIsNull() {
            addCriterion("empl_money is null");
            return (Criteria) this;
        }

        public Criteria andEmpl_moneyIsNotNull() {
            addCriterion("empl_money is not null");
            return (Criteria) this;
        }

        public Criteria andEmpl_moneyEqualTo(String value) {
            addCriterion("empl_money =", value, "empl_money");
            return (Criteria) this;
        }

        public Criteria andEmpl_moneyNotEqualTo(String value) {
            addCriterion("empl_money <>", value, "empl_money");
            return (Criteria) this;
        }

        public Criteria andEmpl_moneyGreaterThan(String value) {
            addCriterion("empl_money >", value, "empl_money");
            return (Criteria) this;
        }

        public Criteria andEmpl_moneyGreaterThanOrEqualTo(String value) {
            addCriterion("empl_money >=", value, "empl_money");
            return (Criteria) this;
        }

        public Criteria andEmpl_moneyLessThan(String value) {
            addCriterion("empl_money <", value, "empl_money");
            return (Criteria) this;
        }

        public Criteria andEmpl_moneyLessThanOrEqualTo(String value) {
            addCriterion("empl_money <=", value, "empl_money");
            return (Criteria) this;
        }

        public Criteria andEmpl_moneyLike(String value) {
            addCriterion("empl_money like", value, "empl_money");
            return (Criteria) this;
        }

        public Criteria andEmpl_moneyNotLike(String value) {
            addCriterion("empl_money not like", value, "empl_money");
            return (Criteria) this;
        }

        public Criteria andEmpl_moneyIn(List<String> values) {
            addCriterion("empl_money in", values, "empl_money");
            return (Criteria) this;
        }

        public Criteria andEmpl_moneyNotIn(List<String> values) {
            addCriterion("empl_money not in", values, "empl_money");
            return (Criteria) this;
        }

        public Criteria andEmpl_moneyBetween(String value1, String value2) {
            addCriterion("empl_money between", value1, value2, "empl_money");
            return (Criteria) this;
        }

        public Criteria andEmpl_moneyNotBetween(String value1, String value2) {
            addCriterion("empl_money not between", value1, value2, "empl_money");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}